package atest.model;

import org.apache.commons.lang.builder.ReflectionToStringBuilder;

import java.util.Date;

public class Student
{
	private int id;
	private String stuNo;
	private String nickName;
	private String realName;
	private SexType sexType;
	private StudentStatus status;
	private Date createTime;
	private Date updateTime;

	public int getId()
	{
		return id;
	}

	public void setId(int id)
	{
		this.id = id;
	}

	public String getStuNo() {
		return stuNo;
	}

	public void setStuNo(String stuNo) {
		this.stuNo = stuNo;
	}

	public String getNickName()
	{
		return nickName;
	}

	public void setNickName(String nickName)
	{
		this.nickName = nickName;
	}

	public String getRealName()
	{
		return realName;
	}

	public void setRealName(String realName)
	{
		this.realName = realName;
	}

	public SexType getSexType()
	{
		return sexType;
	}

	public void setSexType(SexType sexType)
	{
		this.sexType = sexType;
	}

	public StudentStatus getStatus()
	{
		return status;
	}

	public void setStatus(StudentStatus status)
	{
		this.status = status;
	}

	public Date getCreateTime()
	{
		return createTime;
	}

	public void setCreateTime(Date createTime)
	{
		this.createTime = createTime;
	}
	
	public Date getUpdateTime()
	{
		return updateTime;
	}

	public void setUpdateTime(Date updateTime)
	{
		this.updateTime = updateTime;
	}

	@Override
	public String toString()
	{
		return ReflectionToStringBuilder.toString(this);
	}
}
